package com.bzg.spring.application;

import org.springframework.beans.BeansException;

/**
 * bean后置处理
 * */
public interface MyBeanPostProcessor {

	default Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
		return bean;
	}

	default Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
		return bean;
	}

}
